package com.simple.portal.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.portal.bo.IPartnerBO;
import com.simple.portal.dao.IPartnerDAO;
import com.simple.portal.vo.PartnerVO;

@Service("partnerBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class PartnerBOImpl implements IPartnerBO {

	@Autowired
	private IPartnerDAO partnerDAO;
	
	@Override
	public PartnerVO findById(String fiId) {
	
		return partnerDAO.findById(fiId);
	}

	@Override
	public List<PartnerVO> findAll() {
		return partnerDAO.findAll();
	}


}
